/*
 * @Date: 2022-05-22 20:21:14
 * @LastEditors: sailornpg
 * @LastEditTime: 2022-05-22 20:29:18
 * @FilePath: \my-react-components\src\stories\Input.stories.tsx
 * @Description: something
 */
import React from "react";
import { ComponentStory, ComponentMeta } from "@storybook/react";
import Input from "../component/Input";
export default {
  title: "Example/Input",
  component: Input,
  argTypes: {
    backgroundColor: { control: "color" },
  },
} as ComponentMeta<typeof Input>;

const Template: ComponentStory<typeof Input> = (args) => (
  <Input {...args}></Input>
);
export const prepend = Template.bind({});
prepend.args = {
  prepend: "https://",
  append: ".com",
};
